import { getExUserTagTree, getExUserUserSearch, getExUserUserMore } from '@src/api/SystemApi'

/**
 * @des 选人组件工单、事件、客户选择协同人，事件、客户选择负责人配置
 * @see https://publink.yuque.com/docs/share/14a5c525-1842-4a59-b09a-1435b8e3592b?#
 */
export const chooseExUser = {
	fetchDepartmentList:(newParams:any)=>{
		return getExUserTagTree(newParams)
	},
	fetchSearchUserList:(newParams:any)=>{
		return getExUserUserSearch(newParams)
	},
	fetchSearchMoreUserList:(newParams:any)=>{
		return getExUserUserMore(newParams)
	},
	showRole:false,
	isCanChooseDepartment:false,
	isCanChooseRole:false,
	isCanChooseServiceProvider:false,
}